﻿using Estsh.Core.Quartz.BaseService;
using Estsh.Core.Util;
using Quartz;

namespace Estsh.Core.Wms.Jobs
{
    public class QuartzUIJobDemo2 : IJobService
    {
        public string ExecuteService(string parameter)
        {
            LogHelper.Info("QuartzUIJobDemo2执行成功：" + Thread.GetCurrentProcessorId().ToString() + "::" + DateTime.Now);

            Thread.Sleep(25000);
            
            return "QuartzUIJobDemo2测试执行成功！！！" 
                + Thread.GetCurrentProcessorId().ToString()
                + ":::" + Thread.CurrentThread.ManagedThreadId;
        }
    }
}
